﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.Po;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.BuyReturnOutWarehouseVMs
{
    public partial class BuyReturnOutWarehouseBatchVM : BaseBatchVM<BuyReturnOutWarehouse, BuyReturnOutWarehouse_BatchEdit>
    {
        public BuyReturnOutWarehouseBatchVM()
        {
            ListVM = new BuyReturnOutWarehouseListVM();
            LinkedVM = new BuyReturnOutWarehouse_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class BuyReturnOutWarehouse_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._BuyReturnOutWarehouse._BuyReturn")]
        public string BuyReturnId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._Buy")]
        public string BuyId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._Supplier")]
        public string SupplierId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._MakeUser")]
        public string MakeUserId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._InvoicesDate")]
        public DateTime? InvoicesDate { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._Status")]
        public StatusTypeEnum? Status { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouse._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}